<!doctype html>
<html>
<head>
<title>${(blog.metaTitle)?replace("\"", "&quot;")}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="description" content="${(blog.description)?replace("\"", "&quot;")}"/>
<meta name="keywords" content="${(blog.keywords)?replace("\"", "&quot;")}"/>
<#include "/include/global.ftl">
<#include "/include/css.html">
</head>
<body>
<div id="page">
	<#include "/include/header.ftl">		
	<#include "/macro/fblike.ftl">
	<input type="hidden" id="blogId" value="${blog.id}" />
	<div class="blog-wrap">
		<div class="content-wrap blog-article">
			<div class="box">
				<div class="left_body" id="blog-article">
					<h1 style="border:none">${blog.title}</h1> 
					<div style="border-bottom:1px solid #CCC; padding-bottom: 10px">				
						<span style="float:left; margin-right: 10px">${(blog.created)?date}</span>	
						<#assign url = "http://www.wontube.com/blog/" + blog.urlTitle>	
						<@fblike url />
						<div class="clear-float"></div>
					</div>
					
					<#assign content = blog.content>					
					${content?replace('{cssRoot}', cssRoot)?replace('{imageRoot}', imageRoot)}
				</div>
			</div>
		</div>			
			
		<p style="margin-left: 200px; margin-bottom: 5px">
			<a href="${contextPath}/admin/blog">返回后台</a> | 
			<a href="${contextPath}/admin/blog/update/${blog.id}">更新</a>
			<#if blog.status == 0> | <a href="javascript:;" id="release_blog_a">发布</a></#if>
		</p>
	</div>
	
	<#include "/include/footer.ftl">	
</div>
</body>
<#include "/admin/include/js.html">
<script type="text/javascript" src="${jsRoot}/admin/blog/preview.js"></script>
</script>
</html>